package schedule

import "shop-scheduler/model"

type IScheduleManager interface {
	/**
	 * 创建定时任务
	 */
	CreateScheduleJob(job model.ScheduleJob) error
}

type Schedule struct {
}

func NewSchedule() IScheduleManager {
	return &Schedule{}
}

func (s *Schedule) CreateScheduleJob(job model.ScheduleJob) error {
	return nil
}
